package com.example.mapper;

import com.example.entity.RoleAuth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Com_T
* @description 针对表【role_auth(角色权限表)】的数据库操作Mapper
* @createDate 2023-10-22 15:35:44
* @Entity com.example.entity.RoleAuth
*/
public interface RoleAuthMapper {
    int deleteRoleAuthByRoleId(int roleId);
    int insertRoleAuthByRoleId(@Param("roleId") int roleId,
                               @Param("authIdList") List<Integer> authIdList);
}




